function request(arr, callback) {
  arr.push(100);
  callback(arr);
}

let arr = [1, 2, 3, 4, 5];

request(arr, function (res) {
  console.log(res);
});
